//
//  TPButton.h
//  Tripvi
//
//  Created by xiaowuxiaowu on 2017/5/12.
//  Copyright © 2017年 xiaowuxiaowu. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef NS_ENUM(NSUInteger, TPButtonAlignmentType) {
    
      TPButtonAlignmentTypeDefalut, //图片在右边并居中
      TPButtonAlignmentTypeCenterRight, //图片在右边并居中
      TPButtonAlignmentTypeCenterLeft, //图片在左侧并居中
      TPButtonAlignmentTypeRight, //图片在右边
      TPButtonAlignmentTypeLeft, //图片最左边
      TPButtonAlignmentTypeCenterUp, //图片最上边
   
   
};



@interface TPButton : UIButton

@property (nonatomic,assign)TPButtonAlignmentType aligmentType;
@property (nonatomic,assign)NSInteger index;
-(void)tp_arrow;

@end

@interface TPCityButton : UIButton

@end

